package com.qk.common.constants;

public class AvatarMessageConstants {
    public static final String OSS_CLIENT_NOT_INITIALIZED = "OSS client not initialized";
    public static final String FILE_UPLOAD_FAILED = "文件上传失败";
    public static final String FILE_DELETE_FAILED = "删除文件失败";
    public static final String FILE_NOT_FOUND = "File not found in OSS";
    public static final String AVATAR_SAVE_FAILED = "头像保存失败";
    public static final String SUCCESSFULLY_DELETED_FILE = "Successfully deleted file from OSS";
    public static final String OSS_CREDENTIALS_NOT_CONFIGURED = "OSS credentials not configured, file storage service will not work properly";

    public static final String AVATAR_DUPLICATE_UPLOAD = "与当前头像一致，无需重复上传";
    public static final String AVATAR_PROCESSING_LOCKED = "文件处理中，请稍后再试";
    public static final String CLEANUP_TASK_EXECUTED = "清理任务已执行";
    public static final String CLEANUP_TASK_FAILED = "清理任务执行失败";

    public static final String FILE_VALIDATION_FAILED = "文件验证失败";
    public static final String FAILED_TO_DELETE_AVATAR_FILE = "Failed to delete avatar file";

    public static final String MIME_TYPE_JPEG = "image/jpeg";
    public static final String MIME_TYPE_PNG = "image/png";
    public static final String MIME_TYPE_GIF = "image/gif";

    public static final String OSS_AVATAR_PATH = "avatars/";

    public static final String CLEANUP_TASK_STARTED = "开始清理任务";
    public static final String CLEANUP_TASK_FOUND_ITEMS = "找到 {} 个过期项需要清理";
    public static final String MANUAL_CLEANUP_TRIGGERED = "手动触发清理过期头像文件任务";
    public static final String CLEANUP_TASK_COMPLETED = "清理任务完成";
    public static final String CLEANUP_TASK_SUCCESS = "成功";
    public static final String CLEANUP_TASK_FAILURE = "失败";
    public static final String CLEANUP_TASK_ERROR = "清理任务执行时发生错误";
    public static final String FAILED_TO_DELETE_AVATAR = "删除头像文件失败";

    public static final String UNSUPPORTED_FILE_TYPE = "不支持的文件类型";
    public static final String FILE_SIZE_EXCEEDS_LIMIT = "文件大小超过限制";

    public static final String AVATAR_STATUS_ACTIVE = "正常";
    public static final String AVATAR_STATUS_GARBAGE = "垃圾";
    public static final String UNKNOWN_AVATAR_STATUS_CODE = "Unknown avatar status code";

    public static final String CLEANUP_COMPLETION_NOTIFICATION = "清理任务完成通知";
    public static final String CLEANUP_TARGET_TYPE = "类型";
    public static final String CLEANUP_SUCCESS_COUNT = "成功";
    public static final String CLEANUP_FAILURE_COUNT = "失败";
    public static final String CLEANUP_TOTAL_COUNT = "总计";

    public static final String OSS_ERROR = "OSS error";
    public static final String OSS_ERROR_CODE = "code";
    public static final String OSS_ERROR_MESSAGE = "message";
    public static final String OSS_ERROR_REQUEST_ID = "request id";
    public static final String OSS_URL_FORMAT = "https://{}.{}";
    public static final String OSS_FILE_NOT_FOUND = "File not found in OSS";
    public static final String CAUGHT_OSS_EXCEPTION = "Caught an OSSException";

    public static final String FILE_STORAGE_START = "开始存储文件";
    public static final String FILE_STORAGE_SUCCESS = "文件存储成功";
    public static final String FILE_STORAGE_FAILURE = "文件存储失败";
    public static final String FILE_STORAGE_DURATION = "耗时";
    public static final String FILE_STORAGE_ERROR = "错误";
    public static final String FILE_DELETION_START = "开始删除文件";
    public static final String FILE_DELETION_SUCCESS = "文件删除成功";
    public static final String FILE_DELETION_FAILURE = "文件删除失败";
    public static final String FILE_EXISTENCE_CHECK = "检查文件是否存在";

    public static final Integer WAIT_ALLOCATION = 1;
    public static final Integer WAIT_FOLLOW_UP = 2;
    public static final Integer WAIT_CLOSED = 3;
    public static final Integer WAIT_PSEUDO = 4;
    public static final Integer CONVERT_TO_BUSINESS = 5;

    public static final Integer RECOVERY = 4;
    public static final Integer Transfer_Customers =5;
    public static final Integer CONVERT_TO_CUSTOMER =5;


    public static final String DEFAULT_PASSWORD_SUFIX = "123";
    public static final String TOKEN_HEADER_NAME = "token";
    public static final Integer NORMAL = 1;
    public static final Integer FAKE = 2;

    public static final Integer FOLLOW_UP = 3;
    public static final Integer EMPTY_NUMBER = 1;
    public static final Integer STOP_MACHINE = 2;
    public static final Integer COMPETITOR = 3;
    public static final Integer CANNOT_CONTACT = 4;
    public static final Integer OTHER = 5;
}